<template>
  <div>
    <img src="../public/4da49db8820a96d63bc50220f05a5c0.jpg" v-show="btn" />
    <button @click="falg">点击以后显示和隐藏</button>
  </div>
</template>

<script>
export default {

  data() {
    return {
      btn: true
    }
  },
  methods: {
    falg(){
      this.btn=!this.btn
    }

  }
};
</script>

<style scoped></style>
